﻿@model PaymentLogEntity
<div class="layui-colla-item">
	<h2 class="layui-colla-title layui-elem-quote">在线支付记录详情</h2>
	<div class="layui-colla-content layui-form layui-show" wid100>
		<div class="layui-form-item">
			<label class="layui-form-label">支付序号</label>
			<div class="layui-input-block">
				<div class="layui-input-inline layui-input-company">
					@Model.PaymentNum
				</div>
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">用户名</label>
			<div class="layui-input-block">
				<div class="layui-input-inline layui-input-company">
					@Model.UserName
				</div>
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">支付平台</label>
			<div class="layui-input-block">
				<div class="layui-input-inline layui-input-company">
					@ViewBag.PayPlatformName
				</div>
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">支付时间</label>
			<div class="layui-input-block">
				@{
					if (Model.PayTime.HasValue)
					{
						<div class="layui-input-inline layui-input-company">
							@Model.PayTime.Value.ToString("yyyy-MM-dd HH:mm:ss")
						</div>
					}
				}
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">支付金额</label>
			<div class="layui-input-block">
				<div class="layui-input-inline layui-input-company">
					@Model.MoneyPay.Value.ToString("0.00")
				</div>
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">交易成功时间</label>
			<div class="layui-input-block">
				@{
					if (Model.SuccessTime.HasValue)
					{
						<div class="layui-input-inline layui-input-company">
							@Model.SuccessTime.Value.ToString("yyyy-MM-dd HH:mm:ss")
						</div>
					}
				}
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">实际到账金额</label>
			<div class="layui-input-block">
				<div class="layui-input-inline layui-input-company">
					@Model.MoneyTrue.Value.ToString("0.00")
				</div>
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">交易状态</label>
			<div class="layui-input-block">
				@{
					switch (Model.Status)
					{
						case 1:
							<div class="layui-input-inline layui-input-company">未提交</div>
							break;
						case 2:
							<div class="layui-input-inline layui-input-company">已提交</div>
							break;
						case 3:
							<div class="layui-input-inline layui-input-company">已成功</div>
							break;
						case 4:
							<div class="layui-input-inline layui-input-company">已失败</div>
							break;
					}
				}
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">银行信息</label>
			<div class="layui-input-block">
				<div class="layui-input-inline layui-input-company">
					@Model.PlatformInfo
				</div>
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">备注</label>
			<div class="layui-input-block">
				<div class="layui-input-inline layui-input-company">
					@Model.Remark
				</div>
			</div>
		</div>
	</div>
</div>
@Html.AntiForgeryToken()